import request from '../utils/request';

// 产品相关接口
export const getProducts = () => {
    return request({
        url: '/api/products',
        method: 'get'
    });
};

// 新闻相关接口
export const getNews = () => {
    return request({
        url: '/api/news',
        method: 'get'
    });
};
